//在vue组件页面中，集成vue-router路由模块
	//1.安装 npm i vue-router --save
	//2.导入路由 import VueRouter from 'vue-router'
	//3.vue 使用路由 Vue.use(VueRouter);
	//4.导入需要展示的路由组件
		//import login from './components/account/login.vue'
		//import register from './components/account/register.vue'
	//5.创建路由对象
		/* var router = new VueRouter({
			routes:[
				{'path':'/login',component:login},
				{'path':'/register',component:register}
			]
		}); */
	//6.将路由对象挂载到vue上
		/* var vm = new Vue({
			el:'#app',
			render(fc){
				return fc(App);
			},
			router // 将路由对象，挂载到 Vue 实例上
		}); */
	//7.在xxx.vue template中添加`router-link`和`router-view`：
		    /* <router-link to="/login">登录</router-link>
		    <router-link to="/register">注册</router-link>
		    <router-view></router-view> */